package com.wyvoid.forum.service;

import com.wyvoid.forum.domain.UserGroup;
import com.wyvoid.forum.domain.AdminGroup;

import java.util.List;

/**
 * User: cjp
 * Date: 2007-7-1
 * Time: 21:13:03
 */
public interface IUserGroupService {
    List<UserGroup> getMemberUserGroups();

    List<UserGroup> getOtherUserGroups();

    List<UserGroup> getSystemUserGroups();

    List<UserGroup> getAdminGroups();

    UserGroup getUserGroup(long groupId);

    AdminGroup getAdminGroup(long adminGroupId);


    void updateUserGroup(UserGroup userGroup);

    UserGroup getUserGroupById(long userGroupId);

    void saveUserGroup(UserGroup userGroup);

    void deleteUserGroup(UserGroup userGroup);
}
